package com.wmh.baseservice.skd.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 
 * @TableName skd_pickup_point
 */
@TableName(value ="skd_pickup_point")
@Data
@Accessors(chain = true)
public class SkdPickupPoint implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "us_id")
    private Long usId;

    /**
     * 自提点名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 位置
     */
    @TableField(value = "location")
    private String location;

    /**
     * 经度
     */
    @TableField(value = "longitude")
    private BigDecimal longitude;

    /**
     * 纬度
     */
    @TableField(value = "latitude")
    private BigDecimal latitude;

    /**
     * 详细地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 自提点联系人
     */
    @TableField(value = "contacts")
    private String contacts;

    /**
     * 自提点电话
     */
    @TableField(value = "phone_number")
    private String phoneNumber;

    /**
     * 自提点分类id
     */
    @TableField(value = "category_id")
    private Long categoryId;

    /**
     * 图片地址
     */
    @TableField(value = "image_url")
    private String imageUrl;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 删除 0 未删除 1已删除
     */
    @TableField(value = "deleted")
    @TableLogic
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}